package com.book.oauth.server.user.vo;

import com.book.common.api.entity.CurrentUser;
import com.book.common.tree.DataTree;
import com.book.oauth.server.route.vo.RouteVo;
import com.google.common.collect.Lists;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * Description：
 * @Author： leo.xiong
 * @CreateDate： 2020/04/22 10:54
 * @Email： leo.xiong@suyun360.com
 * Version：1.0
 */
@Data
public class CurrentUserDetail extends CurrentUser implements Serializable {
    private static final long serialVersionUID = -3923054882444990064L;
    /**
     * 当前角色的路由信息
     */
    private List<RouteVo> routeList = Lists.newArrayList();
    /**
     * 当前角色的路由树信息
     */
    private DataTree<RouteVo> routeVoDataTree;
}
